package com.pcbly.web.persistence;

import javax.sql.DataSource;

import org.springframework.transaction.PlatformTransactionManager;

public class BaseSpringTemplateDAO {
	protected static DataSource dataSource;
	protected PlatformTransactionManager transactionManager;
	public static DataSource getDataSource() {
		return dataSource;
	}
	public static void setDataSource(DataSource dataSource) {
		BaseSpringTemplateDAO.dataSource = dataSource;
	}
	public PlatformTransactionManager getTransactionManager() {
		return transactionManager;
	}
	public void setTransactionManager(PlatformTransactionManager transactionManager) {
		this.transactionManager = transactionManager;
	}
	
	
}
